<%--
  Created by IntelliJ IDEA.
  User: bobo
  Date: 16-11-4
  Time: 下午5:29
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
    <aside class="aside aside-user-info">
        <section class="user-info">
            <a href="${pageContext.request.contextPath}/user/userinfo">
                <img src="${pageContext.request.contextPath}${user.photo.img}" width="100" height="100" alt="">
            </a>
            <h2>${user.name}</h2>
        </section>
        <menu>
            <ul>
                <li><a href="${pageContext.request.contextPath}/user/publish">我的文章</a></li>
                <li><a href="${pageContext.request.contextPath}/user/getFavourite">文章收藏</a></li>
                <%--<li><a href="#">评论留言</a></li>--%>
                <%--<li class="split-line"><a href="#">站内消息</a></li>--%>
                <%--<li><a href="#">积分管理</a></li>--%>
                <li><a href="${pageContext.request.contextPath}/user/upd">修改信息</a></li>
                <li><a href="${pageContext.request.contextPath}/user/updPassword">修改密码</a></li>
                <li class="split-line">
                    <a href="${pageContext.request.contextPath}/user/updImg">头像设置</a>
                </li>
                <%--<li><a href="#">其他设置</a></li>--%>
            </ul>
        </menu>

    </aside>